import request from '../utils/request';
//模板模拟
export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};

export const groupBuying = () => {
    return request({
        url: '/vehicle/groupBuying/all',
        method: 'get'
    });
};
export const groupDetails = query => {
    return request({
        url: '/vehicle/groupBuying/getOne',
        method: 'get',
        params: query
    });
};
export const messageList = query => {
    return request({
        url: '/vehicle/userMessage/getMessageList',
        method: 'get',
        params: query
    });
};
export const refuelList = query => {
    return request({
        url: '/vehicle/services/business',
        method: 'get',
        params: query
    });
};
export const orderList = query => {
    return request({
        url: '/vehicle/order/_?',
        method: 'get',
        params: query
    });
};
